package com.kimoge.spring6.iocimpl.service.impl;

import com.kimoge.spring6.iocimpl.annotation.Bean;
import com.kimoge.spring6.iocimpl.annotation.Di;
import com.kimoge.spring6.iocimpl.dao.UserDao;
import com.kimoge.spring6.iocimpl.service.UserService;

/**
 * @author kimoge
 * @date 2025/8/28
 * @description
 */
@Bean
public class UserServiceImpl implements UserService {
    @Di
    private UserDao userDao;

    @Override
    public void print() {
        userDao.print();
        System.out.println("UserServiceImpl 执行结束");
    }
}
